﻿
namespace Admin.NET.Application.Service;


public class InvYueXueAddInput : BaseBillDto
{
    // "租户Id"
    public long TenantId { get; set; }

    // "单号"
    public string Id { get; set; } = "";

    // "订血医院"
    public long dingXueYiYuanId { get; set; }

    // "订血医院"
    public string dingXueYiYuan { get; set; }

    // "订血类型"
    public string dingXueLeiXing { get; set; } = "";

    // "发血类型"
    public string faXueLeiXing { get; set; } = "";

    // "需求日期"
    public DateTime xuQiuRiQi { get; set; }

    // "发血方式"
    public string faXueFangShi { get; set; } = "";

    // "附加说明"
    public string fuJiaShuoMing { get; set; } = "";

    public List<InvYueXueMingXi> mingXiList { get; set; }

}

/// <summary>
/// 只更新主表
/// </summary>
public class InvYueXueUpdateInput : BaseBillDto
{

}

public class InvYueXueOutput : InvYueXue
{

}

/// <summary>
/// 主从输出
/// </summary>
public class InvYueXueZhuCongOutput
{
    public InvYueXueOutput zhuBiao { get; set; }

    public List<InvYueXueMingXiOutput> mingXiList { get; set; }
}

public class InvYueXueAuditInput: BaseBillAuditInput
{ 
    public string auditUserName { get; set; }
}
public class InvYueXuePageInput : BaseKeywordPageInput
{
    public string danJuZhuangTai { get; set; }
}


public class CheckYuJingShuJuInput
{
    /// <summary>
    /// 订血医院id
    /// </summary>
    public long? dingXueYiYuanId { get; set; }
    /// <summary>
    /// 订血医院Code
    /// </summary>

    public string? dingXueYiYuanCode { get; set; }
    //统计时间
    public DateTime shiJian { get; set; }
}


public class CheckYuJingShuJuOutput
{

}

public class CheckYiYuanDingXueListInput: BaseKeywordPageInput
{
    public string? dingXueYiYuanCode { get; set; }
}

public class CheckDingXuePingZhongHuiZongInput
{
    public List<string> idList { get; set; }
}
public class CheckDingXuePingZhongHuiZong
{
    public string xueYePinZhongId { get; set; }
    public string xueYePinZhongName { get; set; }
    public string danWei { get; set; }
    public decimal? rhYangRongLiangA { get; set; }
    public decimal? rhYangRongLiangB { get; set; }
    public decimal? rhYangRongLiangO { get; set; }
    public decimal? rhYangRongLiangAB { get; set; }
    public decimal? rhYinRongLiangA { get; set; }
    public decimal? rhYinRongLiangB { get; set; }
    public decimal? rhYinRongLiangO { get; set; }
    public decimal? rhYinRongLiangAB { get; set; }
}

public class BatchMarkFaXueInput
{
    public List<string> idList { get; set; }
    public string faXueDanHao { get; set; }
    public string remark { get; set; }
    public string auditUserName { get; set; }
}